#!/usr/bin/python

a = input("please input first num:")
b = input("please input secound num:")
if a.isdigit():
    if b.isdigit():
        c = int(a)
        d = int(b)
        e = c + d
        print("%s + %s = %d" % (a, b, e))
        e = c - d
        print("%s - %s = %d" % (a, b, e))
        e = c * d
        print("%s * %s = %d" % (a, b, e))
        e = c / d
        print("%s / %s = %d" % (a, b, e))
        e = c % d
        print("{0} % {1} = {2}".format(a, b, e))
    else:
        print("please input two number!!")
else:
    print("please input two number!!")
